<?php
/**
 * Core_Data_Redirect
 * redirect action implementation
 * 
 * @author Adrian Stolarski
 */
class Core_Data_Redirect implements Core_Data_Mainable {
    
    /**
     * main()
     * redirect action
     * @param array $variables
     */
    public function main(array $variables = null) {
        echo '<meta http-equiv="Refresh" content="0;url='.$_SERVER['HTTP_REFERER'].'">';
    }

}
